package cn.wolfcode.cms.mapper;

import cn.wolfcode.cms.domain.SystemMenu;
import cn.wolfcode.cms.query.QueryObject;

import java.util.List;

public interface SystemMenuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemMenu record);

    SystemMenu selectByPrimaryKey(Long id);

    List<SystemMenu> selectAll();

    int updateByPrimaryKey(SystemMenu record);


    List<SystemMenu> queryForList(QueryObject qo);

    int queryForCount(QueryObject qo);

    List<SystemMenu> getParentMenus();

    List<SystemMenu> listRoot();

}